﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Common.Library.Logs
{
    public interface ILog
    {
        void WriteLog(SystemType systemType, ErrorType errorType, string MethodName, string param, string ErrorMsg);
    }

    public enum ErrorType
    {
        严重问题 = 1,
        系统问题 = 2,
        异常BUG = 3,
        系统捕获 = 4,
        系统日志 = 5,
    }

    public enum SystemType
    {
        Job_重置用户信息 = 100001,
        Job_重置用户身份证号 = 100002,

        创建用户数据 = 200001,
    }

    public enum LogType
    {
        FileLog = 1,
        SqlServerLog = 2,
        MongoLog = 3
    }


}
